html, body {
    width: 100%;
    height: 100%;
}

// bootstrap 拓展样式
.bg-purple {
    background-color: var(--purple);
}

.right-0 {
    right: 0;
}

//导航栏
.navbar-brand {
    min-width: 200px;
}

.nav-link {
    white-space: nowrap;
}

#loading {
    height: 2px;

    .progress-bar {
    }
}

.nav-user-photo, .nav-user-photo {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 .5rem;
    position: relative;

    &:after {
        content: '';
        display: block;
        width: 28px;
        height: 28px;
        border: 1px solid white;
        border-radius: 25px;
        position: absolute;
        left: -2px;
        top: -1px
    }
}

// 左侧导航栏
#sidebar {
    display: none;
    #left-nav {
        .menu-text {
            display: inline-block;
            min-width: 5.5em;

        }
    }
}

.input-order {
    width: 30px;
}

.wrap {
    padding: 20px 20px 70px;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

form .input-order {
    margin-bottom: 0;
    padding: 0 2px;
    width: 42px;
    font-size: 12px;
}

form .input-order:focus {
    outline: none;
}

.form-required {
    &:before {
        content: '*';
        color: red;
    }
}

//同样表格样式
.table {
    th, td {
        vertical-align: middle;
        padding-top: .25rem;
        padding-bottom: .25rem;
        line-height: 1.5;
    }

    [class*=table-col-] {
        min-width: 2em;
    }

    .table-col-1 {
        width: 2%;
    }
}

@media (min-width: 992px) {
    #sidebar{
        display: block;
    }
    
}